import { exec as execRaw } from "child_process";

export function exec(command) {
  return new Promise((resolve) =>
    execRaw(command, resolve).stdout.pipe(process.stdout)
  );
}
